<template>
  <div class="container">
    <el-card>
      <el-table
        :data="stockList"
        stripe
        class="table">
        <el-table-column
          prop="vno"
          label="车辆编号">
        </el-table-column>
        <el-table-column
          prop="model"
          label="车型">
        </el-table-column>
        <el-table-column
          prop="config"
          label="配置">
        </el-table-column>
        <el-table-column
          prop="color"
          label="颜色">
        </el-table-column>
        <el-table-column
          prop="vono"
          label="入库订单">
        </el-table-column>
        <el-table-column
          prop="date"
          label="入库日期">
        </el-table-column>
      </el-table>
    </el-card>
  </div>
</template>

<script>
  export default {
    name: "StockTable",
    props:{
      /*库存列表*/
      stockList:[],
    },
    data(){
      return{
      }
    },
    methods:{
    },
  }
</script>

<style scoped>
  .table{
    height: 725px;
    width: 100%;
    overflow-y: scroll;
  }
  .clearfix:before,
  .clearfix:after {
    display: table;
    content: "";
  }
  .clearfix:after {
    clear: both
  }
</style>
